package com.heima.model.behavior.dtos;

import com.heima.model.common.annotation.IdEncrypt;
import lombok.Data;

import java.util.Date;

/**
 * ClassName: CollectionBehaviorDto
 * Description:
 * date: 2023/8/24 0024 20:52
 *
 * @author zHan
 */
@Data
public class CollectionBehaviorDto {
    /**
     * 文章id
     */
    @IdEncrypt
    private Long entryId;

    /**
     * 0 收藏
     * 1 取消收藏
     */
    private Short operation;

    /**
     * 发布时间
     */
    private Date publishedTime;

    /**
     * 0 文章
     * 1 动态
     */
    private Short type;
}
